package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

@TableName("Instruct")
public class Instruct {
    //授课号
    @TableId(value = "INSTRUCT_ID", type = IdType.AUTO)
    private Integer instruct_id;
    //班级ID
    @TableField(value = "CLASS_ID")
    private String class_id;
    //课程号
    @TableField(value = "LESSON_ID")
    private String lesson_id;
    //教师ID
    @TableField(value = "TEACHER_ID")
    private String teacher_id;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private String revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private String created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private String update_time;
}
